<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>collapsable example</title>
	<link rel="stylesheet" type="text/css" href="style/css/layout.css">
	<link rel="stylesheet" type="text/css" href="style/css/decide.css">
	<script type="text/javascript" src="js/jquery.js"></script>
	<script type="text/javascript" src="js/decide.js"></script>
</head>
<body>
<div class="container_all">
	<div class="header">
		<div class="container_12">
			<div class="grid_12 ">
				<img id="logo1" src="style/images/logo.gif" />
				<img id="logo2" src="style/images/logo_02.gif" />
			</div>
		</div>
	</div>
	<div class="content container_12">
		<form>
			<input type="hidden" id="decideDate" name="decideDate" value=""/>
			<h3 class="grid_12" style="
				margin-top: 40px;
			">
				快聚FUN为您准备了三个方案，请做最后决定并发送通知：
			</h3>
			<?php foreach($information as $key=>$value){?>
			<div class="grid_12 date-item">
				<div class="grid_12 alpha omega generalinfo" href="#demo<?php echo $key;?>" style="border-bottom: 0;">
					<div class="grid_2 alpha omega datepeople">  
						<p class="dateinfo"><?php echo $value->dateTime;?></p> 
						<p><?php echo $value->allNum;?>人</p> 
					</div>  
					<div class="grid_8 omega detailpeople">  
						<p>想去 <?php echo $value->number;?></p> 
						<p>当天忙 <?php echo $value->allNum - $value->number - $refusePeopleCount - $noAnswerPeopleCount;?></p> 
					</div>
					<div class="grid_1 arrowpeople">  
						<input type="radio" onclick="getId('<?php echo $value->dateTime;?>')" /> 
					</div>
					<div class="grid_1">  
						<img src="style/images/arrow_down.gif" style="
							vertical-align: middle;
							padding-top: 20px;
						"/> 
					</div>
				</div>
				<div id="demo1" class="grid_12 alpha omega detailinfo" style="display:none;">
					<p>想去：<?php foreach($value->attendPeople as $nameKey=>$name){
								echo $name." ; ";
								}?></p>
					<p>当天忙： <?php foreach($value->noAttendPeople as $nameKey=>$name){
								echo $name." ; ";
								}?></p>
				</div>    
			</div>
			<?php }?>
			<div class="grid_12 refnrep">
				<p><?php echo $refusePeopleCount;?>个拒绝： <?php echo $refusePeopleName;?></p>
				<p><?php echo $noAnswerPeopleCount;?>个未回复： <?php echo $noAnswerPeopleName;?></p>
			</div>
			<div class="grid_12" style="
				padding: 30px 0 60px 0;
			">
				<div class="prefix_3 grid_3 alpha omega">
					<a class="button green" style="
						padding: 20px 50px 20px 50px;" href="javascript:decide()"
					>发送通知</a>
				</div>
				<div class="grid_3 suffix_3 alpha omega">
					<a class="button gray" style="
						padding: 20px 50px 20px 50px;" href="javascript:cancel()"
					>取消聚会</a>
				</div>
			</div>
		</form>
	</div>
	<div class="footer">
		<div class="container_12">
			<div class="grid_12">
				<div class="grid_6 prefix_3 suffix_3">
					&copy;2012 快聚FUN&nbsp;&nbsp;&nbsp;&nbsp;
					联系我们：<a href="#">easygathering@gmail.com</a>
				</div>
			</div>
		</div>
	</div>
	<input type="hidden" id="gatherId" value='<?php echo $gatherId;?>'>
</div>
</body>
</html>